package com.xxgc.aop.jdk;

//用户登录接口的实现
public class UserLogin implements IUserLogin{
    @Override
    public boolean userLogin(String name, String pass) {
        System.out.println("执行中");
        if("张三".equals(name) && "123456".equals(pass)){
            return true;
        }else{
            return false;
        }
    }

    @Override
    public String getUserMsg() {
        System.out.println("获取用户信息执行中");
        return null;
    }
}
